#include <stdio.h>
#include <string.h>

int main() {
    int arr1[] = {1, 2, 3, 4};
    int arr2[] = {1, 2, 4, 5};
    int ret1 = memcmp(arr1, arr2, 8);
    int ret2 = memcmp(arr1, arr2, 9);
    printf("%d %d", ret1, ret2);
    return 0;
}